package com.data.modules.wrt.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 慧锐通开门记录
 * @Author: data-boot
 * @Date:   2023-09-05
 * @Version: V1.0
 */
@Data
@TableName("wrt_open_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wrt_open_log对象", description="慧锐通开门记录")
public class WrtOpenLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**小区编号*/
	@Excel(name = "小区编号", width = 15)
    @ApiModelProperty(value = "小区编号")
    private String uuid;
	/**设备编号*/
	@Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String sn;
	/**设备类型*/
	@Excel(name = "设备类型", width = 15, dicCode = "wrt_device_type")
	@Dict(dicCode = "wrt_device_type")
    @ApiModelProperty(value = "设备类型")
    private Integer type;
	/**开门位置*/
	@Excel(name = "开门位置", width = 15)
    @ApiModelProperty(value = "开门位置")
    private String place;
	/**进入人员*/
	@Excel(name = "进入人员", width = 15)
    @ApiModelProperty(value = "进入人员")
    private String intoName;
	/**开门方式*/
	@Excel(name = "开门方式", width = 15, dicCode = "wrt_open_type")
	@Dict(dicCode = "wrt_open_type")
    @ApiModelProperty(value = "开门方式")
    private Integer openType;
	/**开门人员*/
	@Excel(name = "开门人员", width = 15)
    @ApiModelProperty(value = "开门人员")
    private String openName;
	/**开门时间*/
	@Excel(name = "开门时间", width = 15)
    @ApiModelProperty(value = "开门时间")
    private String openTime;
	/**人员类型*/
	@Excel(name = "人员类型", width = 15, dicCode = "wrt_user_type")
	@Dict(dicCode = "wrt_user_type")
    @ApiModelProperty(value = "人员类型")
    private Integer usertype;
	/**人员编号*/
	@Excel(name = "人员编号", width = 15)
    @ApiModelProperty(value = "人员编号")
    private String usersn;
	/**证件编号*/
	@Excel(name = "证件编号", width = 15)
    @ApiModelProperty(value = "证件编号")
    private String cardNumber;
	/**IC卡号*/
	@Excel(name = "IC卡号", width = 15)
    @ApiModelProperty(value = "IC卡号")
    private String ic;
	/**开锁二维码编号*/
	@Excel(name = "开锁二维码编号", width = 15)
    @ApiModelProperty(value = "开锁二维码编号")
    private String qrcodeSn;

	@TableField(exist = false)
    @ApiModelProperty(value = "time")
    private String time;

    /**房间sn*/
    @Excel(name = "房间编号", width = 15)
    @ApiModelProperty(value = "房间编号")
    private String roomSn;
    /**开锁二维码编号*/
    @Excel(name = "房间名称", width = 15)
    @ApiModelProperty(value = "房间名称")
    private String roomName;
}
